home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 1285 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.7 KB

  1. Path: globe.indirect.com!usenet
  2. From: rjf@infograph.com (rjf)
  3. Newsgroups: comp.graphics.algorithms,comp.lang.c++,comp.os.ms-windows.programmer.graphics,comp.os.ms-windows.programmer.multimedia,comp.os.ms-windows.programmer.win32
  4. Subject: Re: IJG JPEG Engine and Win32
  5. Date: 09 Jan 1996 17:25:18 -0700
  6. Organization: Informative Graphics, Inc.
  7. Sender: rjf@KRUSTY.infograph.com
  8. Message-ID: <buocyjyp.fsf@KRUSTY.infograph.com>
  9. References: <4cemir$6vb@redstone.interpath.net>
  10.     <TGL.96Jan3202549@netcom21.netcom.com>
  11.     <TGL.96Jan5065424@netcom21.netcom.com> <4cpn1r$gm0@redstone.interpath.net>
  12.     <TGL.96Jan8083559@netcom23.netcom.com>
  13. NNTP-Posting-Host: krusty.infograph.com
  14. In-reply-to: tgl@netcom.com's message of Mon, 8 Jan 1996 16:35:59 GMT
  15. X-Newsreader: Gnus v5.0.13
  16.  
  17. fortunat@interpath.com (Jumpstile Turner) writes:
  18. >> Checking the cinfo structure after it comes 
  19. >> back from jpeg_read_header shows that cinfo.image_width and 
  20. >> cinfo.image_height are correct, however almost every field with  
  21. >> "output_xxxx" is way off, either 1, 0, or some rediculous number 
  22. >> like 7988774.
  23. >Then you've still got a problem with sizeof(boolean), I'd bet,
  24. >or else a structure packing rule (#pragma pack).  Are you sure
  25. >you recompiled everything affected by the header files you changed?
  26. >It might help to #include jpeglib.h *before* including any Windows-
  27. >specific headers... if one of their headers is leaving #pragma pack
  28. >in a nondefault state, that could cause this problem.
  29.  
  30. Just as an affirmation, we use the IJG version 5a with no problems
  31. under Windows NT and Windows 95.
  32.  
  33. It would be nice if it supported Monochrome and 16 color BMP's, but
  34. other than that its totally bulletproof!
  35.  
  36. rjf
  37.  
  38. P.S. Thanks Tom!
  39. -- 
  40. ~/.signature
  41.